﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Renci.iRods.Common;

namespace Renci.iRods.Packets
{
    //#define SqlResult_PI "int attriInx; int reslen; str *value(rowCnt)(reslen);"  
    [Packet("SqlResult_PI")]
    internal class SqlResultPacket : Packet
    {
        [PacketField("attriInx", 0, DataTypes.Int)]
        public DataObjectAttributes DataObjectAttribute { get; set; }

        [PacketField("reslen", 0, DataTypes.Int)]
        public int Length { get; set; }

        [PacketField("value", 0, DataTypes.String)]
        public string[] Values { get; set; }
    }
}
